package com.group3.customer.service.impl;

import java.util.List;

import com.group3.customer.dao.ICustomerDao;
import com.group3.customer.dao.impl.CustomerDaoImpl;
import com.group3.customer.service.ICustomerDishService;
import com.group3.entity.Dish;

public class CustomerDishServiceImpl implements ICustomerDishService {

	ICustomerDao dao = new CustomerDaoImpl();

	public List<Dish> queryDishListByMid(String mId) {

		return dao.queryAllDishByMid(mId);
	}

	public List<Dish> queryDishListByMidAndType(String mId, String dtid) {

		return dao.queryDishByMidDpid(mId, dtid);
	}

	public Dish query(String dId) {
		return dao.queryDish(dId);
	}
}
